package com.bootdo.output.service;

import com.bootdo.output.domain.OutStorageDO;

import java.util.List;
import java.util.Map;

/**
 * 出库订单表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-26 16:50:51
 */
public interface OutStorageService {
	
	OutStorageDO get(Long outstorageId);
	
	List<OutStorageDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OutStorageDO outStorage);
	
	int update(OutStorageDO outStorage);
	
	int remove(Long outstorageId);
	
	int batchRemove(Long[] outstorageIds);
	int batchUpdate(Long[] outstorageIds);

	/**
	 * 查询状态类型
	 * @return
	 */
	List<OutStorageDO> listStatus();
	/**
	 * 根据状态查询
	 * @param status
	 * @return
	 */
	List<OutStorageDO> listByStatus(String status);
}
